package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @description:
 * @Author: xiaoma
 * @Date: 2021/8/23 16:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsVo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String img;
    private String price;
    private Integer status;
    private Integer stockCount;
    //保证接口幂等性
    private String orderToken;
}
